package com.qianwei.footpath.net;


import com.common.baselib.bean.ResultBean;
import com.qianwei.footpath.bean.LoginUserBean;
import com.qianwei.footpath.param.Param;
import com.qianwei.footpath.param.WeChatUpdateParam;

import retrofit2.http.Body;
import retrofit2.http.POST;
import rx.Observable;

public interface ApiService {

    @POST("service-core/api/automaticLogin/getLoginUser")
    Observable<ResultBean<LoginUserBean>> getLoginUser(@Body Param userCountParam);

    @POST("service-core/api/wechat/update")
    Observable<ResultBean<Boolean>> getWeChatUpdate(@Body WeChatUpdateParam userCountParam);
}
